interface CarBase {
    width: number
    height: number
    weight: number
}

interface Su7 extends CarBase {
    name: string
}

interface Auto extends CarBase {
    brand: string
}

const su7: Su7 = {
    name: '小米su7',
    width: 3,
    height: 3,
    weight: 3
}

const auto: Auto = {
    brand: '问界M9',
    width: 3,
    height: 3,
    weight: 3,
}

export { su7, auto }